package com.gable.exhibition.dao;

import com.gable.exhibition.model.DeviceTypeSub;

import java.util.List;

public interface DeviceTypeSubDao {
    int deleteByPrimaryKey(Long deviceTypeSubId);

    int insert(DeviceTypeSub record);

    int insertSelective(DeviceTypeSub record);

    DeviceTypeSub selectByPrimaryKey(Long deviceTypeSubId);

    int updateByPrimaryKeySelective(DeviceTypeSub record);

    int updateByPrimaryKey(DeviceTypeSub record);

    /**
     * 获取68分类二级
     * @param parentId
     * @Create user jacky
     * @Create date 2018/2/23
     * @return
     */
    List<DeviceTypeSub> queryDeviceTypeSubListBySelect(Long parentId);
}